#pragma once
#ifndef _KLAS_ERROR_HPP_
#define _KLAS_ERROR_HPP_

#include "../Platform.hpp"
#include <string>
using std::string;

namespace klas
{
  namespace error
  {
    //! A klasException is thrown whenever an internal exception occurs in klas.
    class KLAS_API Exception
    {
    public:
      Exception(string what);
      string what() const;

    private:
      string m_what;

    };

    #include "../../src/error/Exception.inl"
  }
}

#endif